package io.renren.modules.biz.tongtong.dao;

import io.renren.common.dao.BaseDao;
import io.renren.modules.biz.tongtong.dto.LockUserDTO;
import io.renren.modules.biz.tongtong.dto.TbUserDTO;
import io.renren.modules.biz.tongtong.entity.LockUserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 锁授权用户
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-01-07
 */
@Mapper
public interface LockUserDao extends BaseDao<LockUserEntity> {


    /**
     * 查询授权用户信息
     * @param params
     * @return
     */
    List<LockUserDTO> getUserList(Map<String, Object> params);

    /**
     * 获取所有用户
     * @param params
     * @return
     */
    List<TbUserDTO> getAllUser(Map<String, Object> params);
	
}